package com.huawo.opensdk.bean;

import android.graphics.Bitmap;

import com.huawo.qjs.QjsWidget;

import java.io.File;
import java.util.List;

public class QjsWatchFaceBean {

    public int id;
    public int index;//第几个
    public String name;//名称
    public int width;//宽度
    public int heigh;//高度
    public int color;//控件颜色
    public Bitmap background;//背景-path
    public File gif;//gif-path
    public Bitmap thumbnail;//缩略图-path
    public List<QjsWidget> widgetList;//控件数组
    public int currentDirection;//当前方向


    public QjsWatchFaceBean(int index,int width, int heigh, int color, Bitmap background, File gif, Bitmap thumbnail,List<QjsWidget> widgetList, int currentDirection) {
        this.name = "JW_diy" + index;
        this.index = index;
        this.width = width;
        this.heigh = heigh;
        this.color = color;
        this.background = background;
        this.gif = gif;
        this.thumbnail = thumbnail;
        this.widgetList = widgetList;
        this.currentDirection = currentDirection;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeigh() {
        return heigh;
    }

    public void setHeigh(int heigh) {
        this.heigh = heigh;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public File getGif() {
        return gif;
    }

    public void setGif(File gif) {
        this.gif = gif;
    }

    public Bitmap getBackground() {
        return background;
    }

    public void setBackground(Bitmap background) {
        this.background = background;
    }

    public Bitmap getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(Bitmap thumbnail) {
        this.thumbnail = thumbnail;
    }

    public List<QjsWidget> getWidgetList() {
        return widgetList;
    }

    public void setWidgetList(List<QjsWidget> widgetList) {
        this.widgetList = widgetList;
    }

    public int getCurrentDirection() {
        return currentDirection;
    }

    public void setCurrentDirection(int currentDirection) {
        this.currentDirection = currentDirection;
    }

    @Override
    public String toString() {
        return "QjsWatchFaceBean{" +
                "id=" + id +
                ", index=" + index +
                ", name='" + name + '\'' +
                ", width=" + width +
                ", heigh=" + heigh +
                ", color=" + color +
                ", background='" + background + '\'' +
                ", gif='" + gif + '\'' +
                ", thumbnail='" + thumbnail + '\'' +
                ", widgetList='" + widgetList + '\'' +
                ", currentDirection=" + currentDirection +
                '}';
    }
}
